<?php

namespace App\Modules\Admin\Entities\Water;
use App\Models\Model;
use Illuminate\Database\Eloquent\Relations\HasOne;

class GiftScoreModel extends Model
{
    protected $table = 'gift_scores';
    protected $is_delete=0;


    /**
     * @return HasOne
     */
    public function community(): HasOne
    {
        return $this->hasOne(CommunityModel::class, 'id', 'community_id');
    }
}
